package sg.edu.nyp.sit.websvc;

public class ADAuthenticateSoapProxy implements sg.edu.nyp.sit.websvc.ADAuthenticateSoap {
  private String _endpoint = null;
  private sg.edu.nyp.sit.websvc.ADAuthenticateSoap aDAuthenticateSoap = null;
  
  public ADAuthenticateSoapProxy() {
    _initADAuthenticateSoapProxy();
  }
  
  public ADAuthenticateSoapProxy(String endpoint) {
    _endpoint = endpoint;
    _initADAuthenticateSoapProxy();
  }
  
  private void _initADAuthenticateSoapProxy() {
    try {
      aDAuthenticateSoap = (new sg.edu.nyp.sit.websvc.ADAuthenticateLocator()).getADAuthenticateSoap();
      if (aDAuthenticateSoap != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)aDAuthenticateSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)aDAuthenticateSoap)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (aDAuthenticateSoap != null)
      ((javax.xml.rpc.Stub)aDAuthenticateSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public sg.edu.nyp.sit.websvc.ADAuthenticateSoap getADAuthenticateSoap() {
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap;
  }
  
  public int valLogin(java.lang.String userLoginId, java.lang.String password) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.valLogin(userLoginId, password);
  }
  
  public java.lang.String getUserDisplayName(java.lang.String userLoginId) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getUserDisplayName(userLoginId);
  }
  
  public int getUserType(java.lang.String userLoginId) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getUserType(userLoginId);
  }
  
  public sg.edu.nyp.sit.websvc.GetAllStaffResponseGetAllStaffResult getAllStaff(java.lang.String userLoginId, java.lang.String password) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getAllStaff(userLoginId, password);
  }
  
  public sg.edu.nyp.sit.websvc.GetAllSitRoomBookingsResponseGetAllSitRoomBookingsResult getAllSitRoomBookings(java.lang.String userLoginId, java.lang.String password, java.lang.String facilityCode) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getAllSitRoomBookings(userLoginId, password, facilityCode);
  }
  
  public sg.edu.nyp.sit.websvc.GetAllSitStudentsResponseGetAllSitStudentsResult getAllSitStudents(java.lang.String userLoginId, java.lang.String password) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getAllSitStudents(userLoginId, password);
  }
  
  public sg.edu.nyp.sit.websvc.GetCourseModuleResponseGetCourseModuleResult getCourseModule(java.lang.String userLoginId, java.lang.String password, java.lang.String coursecode) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getCourseModule(userLoginId, password, coursecode);
  }
  
  public sg.edu.nyp.sit.websvc.GetTimetableResponseGetTimetableResult getTimetable(java.lang.String userLoginId, java.lang.String password, int semester, int year, java.lang.String moduleCode, java.lang.String moduleCodePrefix) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getTimetable(userLoginId, password, semester, year, moduleCode, moduleCodePrefix);
  }
  
  public sg.edu.nyp.sit.websvc.GetStudentStudyPGMResponseGetStudentStudyPGMResult getStudentStudyPGM(java.lang.String userLoginId, java.lang.String password, int semester, int year, java.lang.String moduleCode, java.lang.String moduleCodePrefix, java.lang.String coursecode) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getStudentStudyPGM(userLoginId, password, semester, year, moduleCode, moduleCodePrefix, coursecode);
  }
  
  public sg.edu.nyp.sit.websvc.GetModuleOfferedResponseGetModuleOfferedResult getModuleOffered(java.lang.String userLoginId, java.lang.String password, int semester, int year, java.lang.String moduleCode, java.lang.String coursecode, java.lang.String moduleCodePrefix) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getModuleOffered(userLoginId, password, semester, year, moduleCode, coursecode, moduleCodePrefix);
  }
  
  public sg.edu.nyp.sit.websvc.GetStudentsParentResponseGetStudentsParentResult getStudentsParent(java.lang.String userLoginId, java.lang.String password) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getStudentsParent(userLoginId, password);
  }
  
  public sg.edu.nyp.sit.websvc.GetAllModuleOfferedResponseGetAllModuleOfferedResult getAllModuleOffered(java.lang.String userLoginId, java.lang.String password, int semester, int year, java.lang.String moduleCode, java.lang.String coursecode, java.lang.String moduleCodePrefix) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getAllModuleOffered(userLoginId, password, semester, year, moduleCode, coursecode, moduleCodePrefix);
  }
  
  public sg.edu.nyp.sit.websvc.GetAllSitRoomBookingsRoomsResponseGetAllSitRoomBookingsRoomsResult getAllSitRoomBookingsRooms(java.lang.String userLoginId, java.lang.String password) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getAllSitRoomBookingsRooms(userLoginId, password);
  }
  
  public sg.edu.nyp.sit.websvc.GetFacCodeByFacTypeResponseGetFacCodeByFacTypeResult getFacCodeByFacType(java.lang.String userLoginId, java.lang.String password, java.lang.String roomtype) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getFacCodeByFacType(userLoginId, password, roomtype);
  }
  
  public sg.edu.nyp.sit.websvc.GetFacilityTypeByFacCodeResponseGetFacilityTypeByFacCodeResult getFacilityTypeByFacCode(java.lang.String userLoginId, java.lang.String password, java.lang.String fac_code) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getFacilityTypeByFacCode(userLoginId, password, fac_code);
  }
  
  public sg.edu.nyp.sit.websvc.GetModuleExamResponseGetModuleExamResult getModuleExam(java.lang.String userLoginId, java.lang.String password, int semester, int year, java.lang.String moduleCode) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getModuleExam(userLoginId, password, semester, year, moduleCode);
  }
  
  public sg.edu.nyp.sit.websvc.GetLecturerTutorByStudentResponseGetLecturerTutorByStudentResult getLecturerTutorByStudent(java.lang.String userLoginId, java.lang.String password, int semester, int year, java.lang.String adminNo) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getLecturerTutorByStudent(userLoginId, password, semester, year, adminNo);
  }
  
  public sg.edu.nyp.sit.websvc.GetModuleTimeTableResponseGetModuleTimeTableResult getModuleTimeTable(java.lang.String userLoginId, java.lang.String password, int semester, int year, java.lang.String moduleCode, java.lang.String schoolCode) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getModuleTimeTable(userLoginId, password, semester, year, moduleCode, schoolCode);
  }
  
  public sg.edu.nyp.sit.websvc.GetNonSITTeachingStaffResponseGetNonSITTeachingStaffResult getNonSITTeachingStaff(java.lang.String userLoginId, java.lang.String password, int semester, int year) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getNonSITTeachingStaff(userLoginId, password, semester, year);
  }
  
  public sg.edu.nyp.sit.websvc.GetPersonalTutorGroupResponseGetPersonalTutorGroupResult getPersonalTutorGroup(java.lang.String userLoginId, java.lang.String password, java.lang.String schoolCode) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getPersonalTutorGroup(userLoginId, password, schoolCode);
  }
  
  public sg.edu.nyp.sit.websvc.GetRoomAvailabilityByFacCodeResponseGetRoomAvailabilityByFacCodeResult getRoomAvailabilityByFacCode(java.lang.String userLoginId, java.lang.String password, java.lang.String fac_code, java.lang.String starttime, java.lang.String endtime) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getRoomAvailabilityByFacCode(userLoginId, password, fac_code, starttime, endtime);
  }
  
  public sg.edu.nyp.sit.websvc.GetRoomDetailsResponseGetRoomDetailsResult getRoomDetails(java.lang.String userLoginId, java.lang.String password, java.lang.String fac_code) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getRoomDetails(userLoginId, password, fac_code);
  }
  
  public sg.edu.nyp.sit.websvc.GetCoursesResponseGetCoursesResult getCourses(java.lang.String userLoginId, java.lang.String password, java.lang.String schoolCode) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getCourses(userLoginId, password, schoolCode);
  }
  
  public sg.edu.nyp.sit.websvc.GetPersonalTutorGroupByStudentResponseGetPersonalTutorGroupByStudentResult getPersonalTutorGroupByStudent(java.lang.String userLoginId, java.lang.String password, java.lang.String adminNo) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getPersonalTutorGroupByStudent(userLoginId, password, adminNo);
  }
  
  public sg.edu.nyp.sit.websvc.GetSitStudentResponseGetSitStudentResult getSitStudent(java.lang.String userLoginId, java.lang.String password, java.lang.String adminNo) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getSitStudent(userLoginId, password, adminNo);
  }
  
  public sg.edu.nyp.sit.websvc.GetSitStudentCourseResponseGetSitStudentCourseResult getSitStudentCourse(java.lang.String userLoginId, java.lang.String password, java.lang.String adminNo) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getSitStudentCourse(userLoginId, password, adminNo);
  }
  
  public sg.edu.nyp.sit.websvc.GetStaffByIdResponseGetStaffByIdResult getStaffById(java.lang.String userLoginId, java.lang.String password, java.lang.String userloginId) throws java.rmi.RemoteException{
    if (aDAuthenticateSoap == null)
      _initADAuthenticateSoapProxy();
    return aDAuthenticateSoap.getStaffById(userLoginId, password, userloginId);
  }
  
  
}